<?php

class Children extends TraitOwner
{
	public function __construct( )
	{
		$this->Module = Modules::$Modules['Sandbox'];
		$this->Traits[] = new PHPXLoadableTrait( ); // this makes the class able to instantiate from a phpx file
		$this->InitTraits( ); // activates the traits
		$this->InitPHPX( ); // activates the PHPXLoadableTrait
	}
	
	public function Init( )
	{
		// @this function needs to be in place for the PHPX to create the component
		// it should function like the constructor of a 'normal' class
	}
	
	// this function is called from the Router when encountering a phpx file
	public function Render( )
	{
		$this->RenderContent( );
	}
}